// P2680 write by cn_ryh